package com.sh.pojo.bo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Data
public class CreateFolderBO {
    @NotBlank(message = "桶不能为空！")
    private String bucket;
    @NotBlank(message = "文件夹名称不能为空！")
    private String folderName;
    @Pattern(regexp = ".*/$", message = "路径需要以'/'结束")
    private String path;
}
